<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://doc.hyperf.io
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */
namespace App\Exception;

class TestException extends \Exception
{
    const CODE_NULL = 1;

    const CODE_ERROR = 100;

    const CODE_MESSAGE = 200;

    const CODE_UNSHOW = 300;

    const TEST_CODE_MAP = [
        self::CODE_NULL    => '参数错误',
        self::CODE_ERROR   => '错误',
        self::CODE_MESSAGE => '消息提醒',
        self::CODE_UNSHOW  => '消息错误不提示',
    ];
}
